package cn.iocoder.yudao.module.wengfu.controller.admin.result.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 化验结果新增/修改 Request VO")
@Data
public class LaboratoryResultInfoSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19496")
    private Long id;

    @Schema(description = "化验编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "26081")
    @NotEmpty(message = "化验编号不能为空")
    private String testId;

    @Schema(description = "化验时间")
    private LocalDateTime testDate;

    @Schema(description = "P2O5(%)")
    private BigDecimal p2o5;

    @Schema(description = "MgO(%)")
    private BigDecimal mgo;

    @Schema(description = "CaO(%)")
    private BigDecimal cao;

    @Schema(description = "SiO2(%)")
    private BigDecimal sio2;

    @Schema(description = "Fe2O3(%)")
    private BigDecimal fe2o3;

    @Schema(description = "Al2O3(%)")
    private BigDecimal al2o3;

    @Schema(description = "K2O(%)")
    private BigDecimal k2o;

    @Schema(description = "Na2O(%)")
    private BigDecimal na2o;

    @Schema(description = "浓度 - 尾桨才会填写")
    private BigDecimal concentration;

    @Schema(description = "比重 - 尾桨才会填写")
    private BigDecimal proportion;

    @Schema(description = "返粉率 - 团球才会填写")
    private BigDecimal returnFanRate;

    @Schema(description = "强度Kgf - 团球才会填写")
    private BigDecimal strengthKgf;

    @Schema(description = "确认状态（0:未确认 1:已确认）", example = "2")
    private Boolean confirmStatus;

    @Schema(description = "确认人员")
    private String confirmer;

    @Schema(description = "确认时间")
    private LocalDateTime confirmTime;

}